/*
 * BaseTestHarness.h
 *
 *  Created on: Jun 16, 2009
 *      Author: stephenpheiffer
 */

#ifndef BASETESTHARNESS_H_
#define BASETESTHARNESS_H_

class BaseTestHarness
{
protected:
	virtual void loadTestInput(ifstream &input);
	virtual void saveTestOutput(ofstream &output);
	virtual void loadTestResults(ifstream &input);
	virtual void runAlgorithm();
	virtual void compareResults();

public:
	BaseTestHarness(char *inputFileName,char *outputFileName);
	virtual ~BaseTestHarness();
	virtual void run(int iterations);
	virtual void test(int iterations);
};

#endif /* BASETESTHARNESS_H_ */
